#!/bin/bash
#

cat black_ip.txt | while read myline
do
        i=$myline
        echo "line: $i"
        iptables -I INPUT -p tcp -s $i --dport 80 -j DROP
done
